@import "@/base.scss";
@import "~@@/app_style";

.index {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #f8f8f8;

  .main {
    width: 100%;
    flex-grow: 1;
    overflow: auto;

    .content {
      width: 750px;
      height: 178px;
      background: #ffffff;
      opacity: 1;
      margin-top: 2px;
      display: flex;
      justify-content: flex-start;

      .left {
        width: 224px;
        height: 138px;
        border-radius: 10px;
        margin-top: 20px;
        position: relative;
        margin-left: 30px;

        .leftImg {
          width: 224px;
          height: 138px;
          border-radius: 10px;
          position: relative;

          .left_img {
            width: 100%;
            height: 100%;
            border-radius: 10px;
          }

          .status {
            height: 32px;
            // background: linear-gradient(148deg, #ed3333 0%, #d20202 100%);
            background: $main_color; 
            border-radius: 200px;
            font-size: 18px;
            font-family: PingFang SC;
            font-weight: 300;
            line-height: 32px;
            color: #ffffff;
            padding-left: 10px;
            padding-right: 10px;
            text-align: center;
            position: absolute;
            top: 10px;
            left: 10px;
            z-index: 50;
          }
          .status-end {
            background: #bbb;
          }

          .play {
            width: 35px;
            height: 40px;
            position: absolute;
            top: 56px;
            left: 105px;
            z-index: 50;

            .play_img {
              width: 100%;
              height: 100%;
            }
          }
        }

        .boxShadow {
          width: 224px;
          height: 138px;
          border-radius: 10px;
          background: rgba(0, 0, 0, 0.4);
          position: absolute;
          top: 0;
          left: 0;
          z-index: 30;
        }
      }

      .right {
        width: 460px;
        height: 138px;
        margin-top: 20px;
        margin-left: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;

        .title {
          width: 460px;
          height: 90px;
          font-size: 32px;
          font-family: PingFang SC;
          font-weight: 400;
          line-height: 45px;
          color: #333333;
          overflow: hidden; //超出的文本隐藏
          text-overflow: ellipsis; //溢出用省略号显示
          white-space: wrap; //溢出不换行
          display: -webkit-box;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
          .live-type {
            display: inline-block;
            position: relative;
            top: -4px;
            height: 32px;
            margin-left: 10px;
            padding: 0px 10px;
            line-height: 32px;
            background-color: $main_color;;
            font-size: 18px;
            font-weight: 300;
            color: #fff;
            border-radius: 20px;
          }
        }

        .time {
          font-size: 28px;
          font-family: PingFang SC;
          font-weight: 300;
          line-height: 33px;
          color: $main_color;
        }

        .Unit_name {
          font-size: 24px;
          font-family: PingFang SC;
          font-weight: 300;
          line-height: 40px;
          color: #333333;
          margin-top: 12px;
        }
      }
    }

    .background {
      position: absolute;
      top: 30%;
      left: 50%;
      transform: translateX(-50%);
      z-index: 10;

      .img {
        width: 328px;
        height: 190px;

        .bj-img {
          width: 328px;
          height: 190px;
        }
      }

      .text {
        font-size: 24px;
        font-family: PingFang SC;
        font-weight: bold;
        color: rgba(51, 51, 51, 0.75);
        text-align: center;
        margin-top: 30px;
      }
    }
  }
}
